Kubio\Core\CustomizerImporter D

Total Complexity 179
Dependencies 4
Dependents 1
Total lines 1,176
Lines of code 898
Logical lines of code 471
Comment lines 43
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
normalizeHero()
C
27
27 145
normalizeImage()
A
33 6 131
normalizeNavigation()
A
42 9 53
loadCurrentData()
A
42 9 51
normalizeIconsLists()
A
42 7 57
postProcessBlock()
A
46 8 42
updateBlocks()
A
45 8 42
removeSidebar()
A
51 8 28
normalizeBlockData()
S
53 7 22
alignInnerTitle()
S
60 6 12
normalizeButtonGroup()
S
51 5 26
processHeader()
S
55 5 21
swapHeroColumns()
S
56 5 19
removeHeroButtons()
S
57 5 17
removePageTitleBlocks()
S
57 5 17
processCurrent()
S
59 5 14
themeHasModifiedOptions()
S
61 5 12
setColumnsWidth()
S
53 4 23
normalizeLogo()
S
57 4 16
normalizeTexts()
S
58 4 15
maybeDecodeArray()
S
61 4 14
removeHeroMediaColumn()
S
61 3 12
gradientStepToString()
S
64 3 8
blockIsTypeOf()
S
67 3 8
swapColumns()
S
65 3 9
processTemplate()
S
67 3 7
composeGradient()
S
64 2 9
process()
S
70 2 7
processFooter()
S
69 2 7
updateBlockInnerBlocks()
S
66 2 8
postProcessBlocks()
S
66 2 8
prepareBackgroundSlides()
S
68 2 7
canProcessCurrent()
S
70 2 6
__construct()
S
59 1 15
getHeroShowButtons()
S
75 1 4
getCurrentPartData()
S
80 1 3
getCurrentData()
S
81 1 3